import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm';

@Entity({
  name: 'school',
  orderBy: {'id':'DESC'}
})
export class School{
  @PrimaryGeneratedColumn({name: 'id'})
  id: number;

  @Column({name: 'name'})
  name: string;
}